import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;

/**
 * All rights Reserved, Designed By www.super-master.cn
 *
 * @ProjectName: rock-paper-scissors
 * @Package: PACKAGE_NAME
 * @ClassName: Result
 * @Description: []
 * <p> </p>
 * @Author: [cai]
 * @Date: 2022/4/19 11:15
 * @Version: V1.0
 **/
@Slf4j
@Data
@AllArgsConstructor
@ToString
public class Result<string, userWin, result, computerWin, userLosses, computerLosses, computerDraws, userDraws> {
   /* public Integer userWin;
    public  Integer computerWin;
    public Integer userLosses;
    public Integer computerLosses;
    public Integer userDraws;
    public Integer computerDraws;

    public Result() {
        this.userWin = 0;
        this.computerWin = 0;
        this.userLosses = 0;
        this.computerLosses = 0;
        this.userDraws = 0;
        this.computerDraws = 0;
    }
    */
    public static int userWin,userLosses,userDraws;

    public static  void Draws(){
        userDraws++;

    }
    public static  void PersonWin(){
        userWin++;

    }
    public static  void PersonLoss(){
        userLosses++;

    }


/*public static void output(){
        log.info("PersonWin"+Result.userWin+    "PersonDraw"+Result.userDraws+          "PersonLoss"+Result.userLosses);
    }*/
   /* public  void PersonWin(){
        Result result = new Result();
        result.setUserWin(result.getUserWin() + 1);
        result.setComputerLosses(result.getComputerLosses() + 1);

    }
    public  void Draw(){
        Result result = new Result();
        result.setUserDraws(result.getUserDraws()+1);
        result.setComputerDraws(result.getComputerDraws()+1);
    }
    public  void ComputerWin(){
        Result result=new Result();
        result.setComputerWin(result.getComputerWin()+1);
        result.setUserLosses(result.getUserLosses()+1);
    }


    public  void output(){
        Result result = new Result();
        log.info("人赢得"+result.userWin+"人平局"+result.userDraws+"人输了"+result.userLosses+"机器赢了"+result.computerWin+"机器平局"+result.computerDraws+"机器输了"+result.computerLosses);

    }*/



}
